package com.zmn.oms.model.entity.distribute;

import com.zmn.oms.common.constant.OrderDistributeConsts;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName DistributeInfo
 * @description: 订单预派单记录
 * @author: wangyanci
 * @create: 2021-12-17 17:51
 * @Version 1.0
 **/
@Data
public class OrderPreDistributeRecord {

    /**
     * id
     */
    private Long preDistributeId;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 工单Id
     */
    private Long workId;

    /**
     * 工程师id
     */
    private Integer masterId;

    /**
     * 预派单来源 下单
     * @see OrderDistributeConsts#PRE_DISTRIBUTE_SOURCE_PLACE_AN_ORDER
     */
    private Integer preDistributeSource;

    /**
     * 预派单成功/失败
     */
    private Integer preDistributeStatus;

    /**
     * 创建人
     */
    private String creater;

    /**
     * 创建时间
     */
    private Date createTime;

}